from flask import Flask, Blueprint

app = Flask(__name__)

# 根据技术模块分目录

from view import user_bp, item_bp

# 注册蓝图
app.register_blueprint(user_bp, url_prefix='/user')
app.register_blueprint(item_bp)

if __name__ == '__main__':
    app.run(debug=True)
